home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c,comp.unix.programmer,comp.unix.questions,comp.unix.misc
- Path: novice.uwaterloo.ca!jching
- From: jching@novice.uwaterloo.ca (Jonathan Ching)
- Subject: Passing arguments when debugging with dbx
- Sender: news@novice.uwaterloo.ca (Mr. News)
- Message-ID: <DL2vJ6.M2F@novice.uwaterloo.ca>
- Date: Fri, 12 Jan 1996 17:06:41 GMT
- Nntp-Posting-Host: novice.uwaterloo.ca
- Organization: University of Waterloo
-
- Hi,
-
- I was wondering how you go about passing arguments into my program if
- I'm debugging it with dbx? I've read the man pages and I still can't
- figure it out, unless I missed it.
-
- For example, if my program takes two arguments like:
-
- myprogram arg1 arg2
-
- How would I put arg1 and arg2 on the command line when I invoke dbx without
- dbx thinking that they were arguments for dbx?
-
- I've tried using "assign" after I start dbx, but it causes a lot of type errors.
-
- Can anyone help?
-
-